package springInvoke;


import java.util.Scanner;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.openfeign.EnableFeignClients;

//import org.springframework.cloud.stream.annotation.EnableBinding;
//import org.springframework.cloud.stream.messaging.Sink;
//import springInvoke.message.SendService;
@SpringBootApplication
@EnableEurekaClient 
@EnableFeignClients
@EnableCircuitBreaker
@EnableHystrixDashboard
//@EnableBinding(value= {SendService.class,Sink.class})
public class InvokeFirst {
	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String profile = scan.nextLine();
		new SpringApplicationBuilder(InvokeFirst.class).profiles(profile).run(args) ; 
	}
	
	 
	
}